package com.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.entity.ExamAnswerDetail;
import com.dao.ExamAnswerDetailMapper;
/**
 * Version: V1.0    <br/>
 * Datetime:   2022/5/15 16:34   <br/>
 * Description: ${DES}
 *
 * @author: chen
 */
@Service
public class ExamAnswerDetailService{

    @Resource
    private ExamAnswerDetailMapper examAnswerDetailMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return examAnswerDetailMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(ExamAnswerDetail record) {
        return examAnswerDetailMapper.insert(record);
    }

    
    public int insertSelective(ExamAnswerDetail record) {
        return examAnswerDetailMapper.insertSelective(record);
    }

    
    public ExamAnswerDetail selectByPrimaryKey(Integer id) {
        return examAnswerDetailMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(ExamAnswerDetail record) {
        return examAnswerDetailMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(ExamAnswerDetail record) {
        return examAnswerDetailMapper.updateByPrimaryKey(record);
    }

}
